package com.company.majiang.isnowfox;

import java.io.IOException;

/**
 * @author zuoge85
 */
public interface Message {

    abstract void decode(Input in) throws IOException, ProtocolException;

    abstract void encode(Output out) throws IOException, ProtocolException;

    abstract int getMessageType();

    abstract int getMessageId();
}
